package com.neusoft.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.neusoft.entity.model.UserBorrowInfo;
import com.neusoft.mapper.modelmapper.UserBorrowInfoMapper;

@Service
public class UserBorrowInfoServiceImpl implements UserBorrowInfoMapper {
	@Autowired
	UserBorrowInfoMapper userBorrowInfoMapper;

	@Override
	public UserBorrowInfo findUserBorrowInfoByUserId(int userId) throws Exception {
		return userBorrowInfoMapper.findUserBorrowInfoByUserId(userId);
	}

}
